home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1996 June
/
EnigmA AMIGA RUN 08 (1996)(G.R. Edizioni)(IT)[!][issue 1996-06][EARSAN CD VII].iso
/
earcd
/
comm2
/
kllttc25.lha
/
DOC
/
KILLATTACH.doc
Wrap
Text File
|
1995-10-23
|
5KB
|
124 lines
KillAttach - File Attach Packet Killer for the Amiga
Copyright (c) 1995 by Robert Williamson, FIDONET#1:167/104.0
ALL RIGHTS RESERVED
This software is provided "as is", without warranty and/or
guarantee of any kind. You may use and/or distribute this software
and copies of it, as long as no alterations have been made, no files
have been added to/omitted from the original distribution archive
and no charge is asked for.
This package may be freely distributed via BBSs, ADS, AmiNet and
software libraries such as Fred Fish's and Aminet CD-ROMs, and other
similar electronic channels.
This package may NOT be distributed by SAN or by Disk magazines,
PD libraries or BBSs and Services that charge extra for file
transfers without authorization from, and compensation to the
author.
What is KillAttach?
KillAttach is a packet scanner which reads packets and deletes those
packets which contain a FileAttach message. It only looks at packets
less than 1000 bytes in length and then, only looks at the first message.
If that message is echomail or not a File Attach message, the packet is
skipped, if it IS a file attach message, the packet is deleted.
Status of This Release:
This is BETA and given the great number of features it probably has
bugs. In the case of a serious ERROR, and if the error conditions allow,
the error message will be logged. Please forward this information to
myself at either:
FIDONET#1:167/104.0 or AMIGANET#40:600/104.0.
This documentation may not be always up to date, as features are being
added at a very quick pace. Refer to the KillAttach usage display for
command line changes.
The ToDo list is changed daily, items being either implemented and
removed from the list or new items added. There is no obligation on my
part to implement anything in the ToDO list unless a contract to do so is
entered into by myself and a customer.
Copyrights:
KillAttach, KillAttach.doc are
Copyright (c) 1995 by Robert Williamson, FIDONET#1:167/104.0
Why did I write it?
It seemed the logical thing to do after writing PktFilter.
Requirements:
WB 2.1 MINIMUM
Features:
o pure, residentable, standard readargs command line templates
o multi-ftn
o independant of tosser and message base type
o handles both netmail and echomail
Installation:
Be sure that your dearc command preserves attributes. If it does not,
run:
> Protect Mail:KillAttach pwerd
Copy KillAttach to somewhere on your path, MAIL: is nice. For faster
loading, you can pre-load it as resident with these commands:
> Resident Mail:KillAttach ADD
Make sure you REMOVE or REPLACE the old resident version when upgrading
and that you do not have any other program called KillAttach on your path.
Copy rexxplslib.library to any directory of your LIBS: assign.
Copy Start-ARexx to S:. Then remove the call to RexxMast in your
S:Startup-Sequence and add a call to S:Start-ARexx to your S:User-Startup.
Copy RPStart#? to your SYS:WBstartup directory.
When to Scan packets:
Packet scanning can be done a number of ways. Whichever method you
choose, it is your responsibiity to insure you do not scan the same
packet more than once.
The BEST way to run KillAttach (or any packet scanner, for that matter)
is from a CRON, once a day, just before midnight, from a directory that
contains backups of all packets received.
Run >NIL: KillAttach SCANDIR <path> AGE 0
This is how I do it. My tossing software allows me to backup packets
before tossing, even those within archives, and trim the backups by age.
An alternate method would be to scan each packet BEFORE importing.
While this is trivial for packets received, when dealing with ArcMail,
this method would require one of:
- a tosser that allows you to configure a command to execute between
de-arcing and tossing
- modification of your dearc command to call KillAttach before
returning to the tosser
- some other trick you may come up with :)
Templates:
KillAttach uses standard AmigaDos Templates for command line arguments.
Command Line Usage:
The various modes allows use of KillAttach in WhenRecd, TurnAround and
AfterSession commands as well as in a cli.
Template:
SCANDIR/K,AGE/K,DEBUG/S
SCANDIR dir <modifiers> <patterns>
directory is scanned for all PKTs less or equal to AGE
Modifiers
AGE number of days, the maximum age of packets to scan
DEBUG extremely verbose mode
Configuration:
None.
--more to come--